package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * 导入短信数据
 *
 * @author wufeng
 * @date 2018/9/26 15:06
 */
@Getter
@Setter
@ToString
public class ImportSmsDTO extends BaseDTO {

    @Getter(onMethod_ = {@QueryIgnore})
    @NotNull(message = "{dto.msg.importSms.file.NotNull}")
    private MultipartFile file;
    /**
     * 短信模板内容
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private String content;

}
